/**用户信息请示 */
export interface ReqUserParams extends RequestPage {
  username: string
  gender: number
  idCard: string
  email: string
  address: string
  startTime: string
  endTime: string
  status: number
}

/**用户信息响应 */
export interface ResUserList {
  id: string
  username: string
  gender: number
  user: { detail: { age: number } }
  idCard: string
  email: string
  address: string
  createTime: string
  status: number
  avatar: string
  photo: any[]
  children?: ResUserList[]
}

/** */
export interface ResStatus {
  userLabel: string
  userValue: number
}

/**性别响应 */
export interface ResGender {
  genderLabel: string
  genderValue: number
}
export interface ResDepartment {
  id: string
  name: string
  children?: ResDepartment[]
}
export interface ResRole {
  id: string
  name: string
  children?: ResDepartment[]
}
/**
 * @name 用户管理模块
 */

export const UserAPI = {}
